/* 个人信息卡片 */
.profile-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.profile-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.avatar-image:hover {
    transform: scale(1.1);
}

.profile-info {
    flex: 1;
}

.profile-info h3 {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
}

.profile-title {
    color: var(--link-color);
    font-size: 1.2rem;
    margin: 0 0 1rem;
}

.profile-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    opacity: 0.8;
}

.profile-bio {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-color);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
    background: var(--hover-color);
    border-radius: 10px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--link-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* 技能专长 */
.skills-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.skill-category h4 {
    margin: 0 0 1rem;
    color: var(--text-color);
}

.skill-item {
    margin-bottom: 1rem;
}

.skill-name {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.skill-bar {
    height: 8px;
    background: var(--hover-color);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--link-color);
    border-radius: 4px;
    transition: width 1.5s ease-out;
}

/* 工作经历 */
.experience-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--hover-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -2.4rem;
    width: 1rem;
    height: 1rem;
    background: var(--link-color);
    border-radius: 50%;
    border: 3px solid var(--card-bg);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.timeline-header h4 {
    margin: 0;
    color: var(--text-color);
}

.timeline-date {
    color: var(--text-color);
    opacity: 0.8;
}

.timeline-company {
    color: var(--link-color);
    margin-bottom: 0.8rem;
}

.timeline-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.timeline-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--link-color);
}

/* 教育背景 */
.education-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.education-header h4 {
    margin: 0;
    color: var(--text-color);
}

.education-year {
    color: var(--text-color);
    opacity: 0.8;
}

.education-school {
    color: var(--link-color);
    margin-bottom: 0.8rem;
}

.education-details {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* 兴趣爱好 */
.interests-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.interest-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--hover-color);
    border-radius: 10px;
    transition: transform 0.3s;
}

.interest-item:hover {
    transform: translateY(-5px);
}

.interest-icon {
    font-size: 2rem;
}

.interest-name {
    color: var(--text-color);
}

/* 社交链接 */
.social-links.widget {
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    width: 100%;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    color: var(--text-color);
    background: var(--hover-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.social-item:hover {
    transform: translateY(-3px);
    background: var(--link-color);
    color: white;
}

.social-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* 技术栈 */
.tech-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.tech-tag {
    padding: 0.5rem 1rem;
    background: var(--hover-color);
    border-radius: 20px;
    color: var(--text-color);
    transition: transform 0.3s;
}

.tech-tag:hover {
    transform: translateY(-2px);
}

/* 项目展示 */
.project-list {
    margin-top: 1rem;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--hover-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.project-item:hover {
    transform: translateY(-3px);
}

.project-icon {
    font-size: 2rem;
}

.project-info h4 {
    margin: 0 0 0.3rem;
    color: var(--text-color);
}

.project-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
.profile-card,
.skills-section,
.experience-section,
.education-section,
.interests-section {
    animation: slide-in 0.8s ease-out;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
} 
.profile-name {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-icon {
    font-style: normal;
    opacity: 0.8;
}
.profile-name {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item {
    color: #666;
    line-height: 1.5;
}